Added missing allocation check in attestation_utils.cpp
am: ff5d9551d5

Change-Id: I64fb640e58161478e16b80f5db81de9aa1cd26e6