Bug 976398 - Check camera permissions directly instead of using Unix groups.

Loosely based on the code used to check PRemoteOpenFile.