Check for errors when allocating record data memory.

The function ihex_parse_single_record() did not check the return value
of malloc() system call when allocating memory for the record's data.
It now sets IHEX_ERR_MALLOC_FAILED and aborts in that case.