There are transformations in the `spirv-fuzz` that remove parameters from the function. Currently, there is no API for doing so in `opt::Function`.