Fixing DatabaseUtils to detect malformed UTF-16 strings

Test: tested with POC in bug, also using atest
Bug: 224771621
Change-Id: Ide65205b83063801971c5778af3154bcf3f0e530
1 file changed