[inductor] Consolidate constant_args and cpp_constant_args (#98742)
Summary: Refactor code to simplify the logic. Support convolution as an
extern call in CudaWrapperCodeGen.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/98742
Approved by: https://github.com/jgong5, https://github.com/jansel