libsurfaceflinger: fix screenshot permission check am: fc0b911090 am: fd630967bb
am: 9a13672e31

Change-Id: I87807674d52c35884a0b986db3e1b6102a526b83