hwc: Do not show animation on External display

- When primary is animating, the animation should not be
  shown on the external display.
- Mark all the layers as HWC_OVERLAY on external during
  animation so that SF wont compose it on FB.

Change-Id: I00958a3110be92bc07b82f4b8cbbf9bbe3c73db5
Merge "hwc: Do not show animation on External display"
hwcomposer: Reset LayerRotMap if MDP configure fails

For some reason if overlay pipe allocation fails reset the LayerRotMap
to avoid calling rotator sync ioctl which we should not call.

Change-Id: Ibe31d22a18bf48201ab8f20009489c6dc5e04a28
Crs-Fixed: 505003
Merge "hwcomposer: Reset LayerRotMap if MDP configure fails"