Cleanup: load_function_full -- avoid a string alloc/copy and cast. (#14625)