anv/pipeline: Refactor setup of the prog_data::param array