m7-common: camera: clean up wrapper code

* Clean up formatting, warnings, style, etc.

Change-Id: Ie0757befa341e209e2b552b42bffee6b52d8df0a