Make version of opaque closure constructor in world (#56823)
Successor to https://github.com/JuliaLang/julia/pull/56808 which enables
an opaque closure to be constructed with a specified world age (if, for
example, the current world age isn't valid due to being in a generated
function). Required for https://github.com/EnzymeAD/Reactant.jl/pull/365