chore(runtime/core): add NULL checks

Signed-off-by: Mate Toth-Pal <mate.toth-pal@arm.com>
Change-Id: I3c8c88fd02a1522ff07a4a3038c574bd11e3db7f
1 file changed