afc::toHex(): an implementation with a better performance is selected.