unit-tests: Depend on SHA1/SHA256 features for mgf1 test cases