efi_loader: bootmgr: add load option helper functions