Jb4.2

Hey, Mustaavalkosta. I'm compiling CM10.1 for the HTC Thunderbolt and have to use the jb4.2 branch instead of the CM-10.1 (for now, at least). I had a couple compiler errors that I needed to fix in order to continue the build. It completes and performs just fine when installed.

One fix I found after some searching here:
https://github.com/arco/android_hardware_qcom_display-legacy/commit/a5439a84b59ccf744c1d10ca765aabec5e143cae

The other is in regard to the allocSize variable in libgralloc. Deleting this variable fixes the issue, but I have seen that a new QCOM_BSP flag has been added in future branches to fix this as well. I'm not sure how you want to proceed with this so I thought I'd ask.