Add permission to WRITE_SYNC_SETTINGS.

This fixes SystemUI crashing when selecting the sync quick toggle.

Change-Id: I59ab9d25c9edfe74fe60e18c73378855a01c2f59