Fix building of hwcomposer for msm devices

http://review.cyanogenmod.org/#/c/30269/