efi_loader: replace a u16_strdup with alloc + memcpy