Handle memory allocation errors in Asylum loader

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[test] Add test for STM loader

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Handle memory allocation errors in STM loader

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Handle memory allocation errors in HMN loader

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[test] Add test for Epic MASI loader

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Handle memory allocation errors in Epic MASI loader

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>