psa-crypto: Check that the value returned by pb_malloc_byte_array() is not NULL

These defects were reported by Coverity.

Signed-off-by: Alexandre Gonzalo <alexandre.gonzalo@arm.com>
Change-Id: Icbd77ce2a6dbc74bd461217ca17f26e1937288e3
1 file changed