hwc: Add an ifdef for retire fence usage

Change-Id: I08b5ff74dc1e1e1c6c1a9bb161540bdae2a0b9dc