msm8960: Fixed compilation under GCC 4.7

Various fixes for the GCC 4.7/Linaro compiler. AOSP Master is moving
toward GCC 4.7 so it isn't a bad idea to get compatible with the
toolchain.

Change-Id: I88518ff14cd6fa6e26e2daed4a3a6414e0cd01a0
Signed-off-by: rohan <rohanmathur34@gmail.com>
Linux 3.0.79

Change-Id: Ia22a1da59589de392215a7bf6df600fbd86d6ca8
Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>
Linux 3.0.80

Change-Id: I425612057d851cd6ce6a92c59f784e438a446033
Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>
Linux 3.0.81

Change-Id: I6d037b8116051e6e25071038aac47931ec3ad441
Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>
Linux 3.0.82

Change-Id: I9c236cb6284aa176c9a8a76739c917ff91c3b8ae
Linux 3.0.83

Change-Id: Ib2443a286fc7a3a108e09a3a5b47926884dc6042
Linux 3.0.84

Change-Id: I57894e869ede86b843d0a8d6e8598d9c5ca75acf
Linux 3.0.85

Change-Id: I3b343ac197d40fef2980ade61379d588257fab07