Merge pull request #14667 from lucasmazza/require-per-thread-registry

Add missing require so requiring `active_support/cache` works again.