codegen: add JuliaFunction constructors accepting variant list
Add overloads of the JuliaFunction constructors that accept an
initializer_list<JuliaFunction*> for the variants field, allowing
gc_loaded_func to be initialized with its vector variants inline.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>