[PATCH v4 2/6] efi: Add string conversion helper