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

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

Change-Id: Ic897dbd4629cf3af98c85f93be202c382dde806b
Merge branch 'cm-10.1' of github.com:CyanogenMod/android_frameworks_av into cm-10.1