Nine firefighters are among at least 13 people who are injured after Marseille's mayor said a wildfire is "at the gates" of the southern French city.