Catch OOM errors when parsing xmp.

Bug: 178411011
Test: atest
Change-Id: Ia97b76f5f6087907067f0d4132e06c6e53afb510
1 file changed