[fallback] Try to execute the first new boot option.

I'm told rebooting is sometimes unreliable when called here, and we'll
get bootx64.efi loaded anyway.  I'll just assume that's true and try to
load the first option, since it's clearly what we'd prefer happens next.

Signed-off-by: Peter Jones <pjones@redhat.com>
Pass parameters correctly when booting.

Signed-off-by: Peter Jones <pjones@redhat.com>
Fix some minor type errors.

Signed-off-by: Peter Jones <pjones@redhat.com>
Remove some unnecessary code.

Signed-off-by: Peter Jones <pjones@redhat.com>
Add some error messages when things don't work.

Signed-off-by: Peter Jones <pjones@redhat.com>
Use the correct define on Open.

The value here doesn't actually change any, but we should still use the
right name.

Signed-off-by: Peter Jones <pjones@redhat.com>
Use MS ABI instead of terrible wrappers.

This means that we now require gnu-efi 3.0s

Signed-off-by: Peter Jones <pjones@redhat.com>