[efi] Use POSIX version of basename() in elf2efi.c