sdm: Add rect mapping and interface to store actual resolution

1. Add rectangle mapping function to map a rectangle from one
   coordinate system to another coordinate system.
2. Add unaligned_width and unaligned_height in layer buffer to store
   the actual buffer resolution without alignment.
3. Populate unaligned width and height information of SDM layer
   buffer from private handle

Change-Id: Ic4c03cc5779418959732332d26b8ecb59c2483b5
CRs-Fixed: 1040942
14 files changed