hwui: This code should only be enabled with QCOM_HARDWARE

Change-Id: Ia544b49a45d08e4980142cfbabe43570644d7265