ref-filter: make 'ref_array_item' use a FLEX_ARRAY for refname