Replace ActionDispatch::Head with Rack::Head.
Merge pull request #17737 from yui-knk/fix/head

Replace ActionDispatch::Head with Rack::Head.