gras: also set num_output_items_read in post_output_buffer