SurfaceFlinger: lock mStateLock when modifying allowed configs
am: abf9106001

Change-Id: Id6ec56a597601d185324a52b5369d054bc57a151