msm_fb: add cropping support to quickdraw engine

Allow buffers that would be partially on the screen to be drawn
successfully. Analyze the buffer coordinates and draw only the portion
of the buffer that will appear on the screen, essentially cropping the
image to the viewable screen area.

Change-Id: I193f52461746d1d1a00ca0a5e464e1b7b4c7d028
Signed-off-by: Joe Swantek <jswantek@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/623363
SLTApproved: Slta Waiver <sltawvr@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Jared Suttles <jsuttles@motorola.com>
Reviewed-by: Patrick Auchter <auchter@motorola.com>
Reviewed-by: Stephen Rossbach <rossbach@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
(cherry picked from commit 1830188f10429f5dfafe1615fb187aa133e29378)
Reviewed-on: http://gerrit.pcs.mot.com/625595
Reviewed-by: Upgrade Build <dbbuild@motorola.com>
SLTApproved: Upgrade Build <dbbuild@motorola.com>
Submit-Approved: Upgrade Build <dbbuild@motorola.com>
Tested-by: Upgrade Build <dbbuild@motorola.com>