interfaces: camera: fix two potential null pointer uses

Caught by the static analyzer:
hardware/interfaces/camera/device/1.0/default/CameraDevice.cpp:401:9:
warning: Called C++ object pointer is null
[clang-analyzer-core.CallAndMessage]

Bug: None
Test: TreeHugger
Change-Id: Ia6d0a2ab4b4d04cfc171629c7dbf60ead181625d
1 file changed
tree: 33abef9a903d21246e8b2ef92aeb1c4eb32056c2
  1. biometrics/
  2. camera/
  3. cryptfshw/
  4. gnss/
  5. light/
  6. livedisplay/
  7. nfc/
  8. power/
  9. powershare/
  10. touch/
  11. trust/
  12. usb/
  13. vibrator/
  14. wifi/
  15. Android.bp
  16. update-makefiles.sh