CameraService: Fix permissions check issues