Replace ActionDispatch::Head with Rack::Head.

see #17721