frameworks/base: Call setDirtyRect to update dirty rectangle

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

Change-Id: Ic5c6e68ff644911a596a2432fd14868edbff9b17

Conflicts:
	core/java/android/view/HardwareRenderer.java
	core/java/android/view/Surface.java
	core/jni/android_view_Surface.cpp