Implement htoun/untoh64 with potentially faster htobe64/be64toh macros, if available