[PATCH] efi_loader: image_loader: fix a Coverity check against array access