Catch OutOfMemoryError while parsing xml in GameManagerService

This part of the GameManagerService would fail if the given xml was too big (>1 GB). Catching the OutOfMemoryError allows the process to continue instead of crashing.

Test: Tested on 25q4-release branch with the apk and repro steps provided on the bug
Bug: b/480975165
Flag: EXEMPT BUGFIX
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:d3a1cc8820b17b04723df14b9e5df02473f440d6
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:ede0e75d3f248998102b4638572e14c0ca55a59e
Merged-In: I7142bde41c0583022cacbf076b5ba6acbbcfd3c2
Change-Id: I7142bde41c0583022cacbf076b5ba6acbbcfd3c2
1 file changed