Cleaning up EFI platform Jamfile a bit.
Use x86_64 functions for x86_64 non bios platforms.

This logic is handled in libroot Jamfiles, but we only
use parts of that in boot.
Add compile flags for EFI platform.