comctl32: header: Move common code from SetItemT/InsertItemT into a new function.