Mean field games with nonlinear mobilities in pedestrian dynamics