Libui Enable Bound Sanitizers

Turned on sanitizer flags for bound checking for libui.

Bug: b/143535333
Test: Ran the following tests
native:
  Region_test
  colorspace_test
  GraphicBuffer_test
  BufferHub_test
  Size_test
  hwui_macro
Cts test cases:
  CtsUiAutomationTestCases
  CtsUiRenderingTestCases
  CtsUiRenderingTestCases27
  CtsUidIsolationTestCases
  CtsUsageStatsTestCases

Change-Id: Ice642ebff329823742211d491c788a123344b69b
diff --git a/libs/ui/Android.bp b/libs/ui/Android.bp
index db15e17..42b578c 100644
--- a/libs/ui/Android.bp
+++ b/libs/ui/Android.bp
@@ -31,6 +31,13 @@
 
     sanitize: {
         integer_overflow: true,
+        misc_undefined: ["bounds"],
+        diag: {
+            misc_undefined: ["bounds"],
+            no_recover: [
+                "bounds",
+            ],
+        },
     },
 
     srcs: [