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

This reverts commit 597954dedd452f9a379b3c4cd6617dee6d6cf35c.
Merge branch 'kitkat' of github.com:ModdedPA/android_frameworks_av into kitkat