stand/efi: Better include order for sharing
Have a better include order so this can more easily be shared between
EFI and kboot. Fewer ifdefs and the same (enough) include order as
before.
Sponsored by: Netflix
(cherry picked from commit 3f2c1eb5b84317bae98420c1346304b604436727)