nir: Take a variable remap parameter in nir_inline_function_impl