security_policy: switch to EFIAPI calling convention

Remove the assembly thunk that converts between EFI and C calling conventions
on x86_64 and use the EFIAPI tag instead, which informs gcc to use the EFI
calling conventions for the function.  This means security_policy.o can now be
built unconditionally for all architectures

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
3 files changed