msm8660-common: update camera wrapper

Fixes the camera crashes because parseInt doesn't like null values.