[U-Boot] [PATCH 12/18] efi_loader: helper functions for protocol management