msm7x27a-common:camerawrapper: code cleanup and fixes

Change-Id: Ibff94385031bda80204ff78224c8dd29e8a618d8