Fix building of hwcomposer for msm devices

Change-Id: I536429819653b27565b88317f2c5d55b8dbbf1c1