hwc: Consider orientation while checking a layer for scaling.

When a layer has 90 or 270 degree orientation flag set, the source buffer will be
rotated before MDP scales it up or down, if applicable. So while
checking the layer for scaling for configuration decisions in
HWC, we need to consider its orientation flags.

Change-Id: Ia35f5868eb0e4e47659484de28b14ae3560c18aa
1 file changed