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

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

Change-Id: Ic897dbd4629cf3af98c85f93be202c382dde806b
Merge remote-tracking branch 'CyanogenMod/cm-10.1' into cm-10.1