camera: Don't segfault if we get a NULL parameter

 * Values end up NULL on some drivers, don't crash.

Change-Id: Ic897dbd4629cf3af98c85f93be202c382dde806b
Merge pull request #17 from CyanogenMod/cm-10.1

camera: Don't segfault if we get a NULL parameter