crypto: don't open-code qcrypto_hash_supports