LoongArch: sys/contrib/edk2: add support
copy from upstream:
https://github.com/tianocore/edk2/tree/edk2-stable202408
commit: https://github.com/tianocore/edk2/commit/cd24eb578bb77e6a55d37c2e9afef4a6814a82ac
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1624