surfaceflinger: compensate for hwrotation in CaptureScreen

Change-Id: I767ce3a45fa0bfe37ea3d9f8acd52a33995f36f4