Catch more allocation failure cases

Bug: 216213939
Bug: 215451239
Test: VtsAidlKeyMintTargetTest
Change-Id: I604c980dba7644e4012a358b6f2dc204cb215c3c
3 files changed