qcom: fix errors inside ALOGV

Fix errors exposed by adding compile-time checking to disabled ALOGVs.

Change-Id: I3578e2829e64d49c8dd967c8b4ed23ecbdb48a87
Merge branch 'cm' into HEAD