[yaml2obj][ELF] Exit with error status on error.