frameworks/base: Call setDirtyRect to update dirty rectangle

This change updates dirty rectangle instead of dirty region of a
surface.

Change-Id: Ic5c6e68ff644911a596a2432fd14868edbff9b17
Merge branch 'kitkat' of github.com:AOSPA-legacy/android_frameworks_base into kk4.4