Fix aliasing violation in latest HWComposer

Change-Id: If51327979123d672005b8da6da7041e3c271f698