Fix for issue #17115: ActiveModel::AcceptanceValidator initialize causes an error because the overridden hash is not HashWithIndifferentAccess

Changed the hash from ordinary to HashWithIndifferentAccess in order to fix the "attributes cannot be blank" error thrown if the super class cannot extract "attributes" from the hash.