hpeldsp_template: Merge some declarations and initializations