sdm: Adjust the split if a horizontal flip is present

1. Split from right to left on the source to ensure that the
   width of the right split is aligned to the expected width
   alignment.
2. Split from bottom to top on the destination to ensure that the
   resultant y-offset is aligned correctly after the swap
   operation happens.

Change-Id: I7ddcc068e0ec14b66294b15e641b3e1c58f14a1b
2 files changed