frameworks/native: Modify dirtyRect only on GPU pre-rotation

Modify layer dirtyRect only when the buffers are pre-rotated by
GPU, not when the buffers are scheduled to be rotated during
composition.

Conflicts:
        services/surfaceflinger/Layer.cpp

Change-Id: I283833b9989be3032ce03fd955cea500b9bc4ae4
3 files changed