core: makes sure if capping to max_noutput_items with output_multiple that the value is always an output_multiple.