Merge pull request #18017 from sikachu/4-2-stable-add-params-to_unsafe_h

Add AC::Parameters#to_unsafe_h