Display error message when HOB creation fails due to lack of memory.