MFH: r441921
Fix build on aarch64 (endian detection)
Submitted by: theraven (via mail)
Approved by: ports-secteam (build fix blanket)