rsa_padding_add_PKCS1_OAEP_mgf1_with_libctx(): fix check of |md|