[PATCH 4.19 029/140] tpm: add check after commands attribs tab allocation