hwc: Add an ifdef for retire fence usage

Change-Id: I08b5ff74dc1e1e1c6c1a9bb161540bdae2a0b9dc
Merge pull request #1 from CyanogenMod/cm-11.0

hwc: Add an ifdef for retire fence usage