av_samples_fill_array: Mark unmodified function argument as const.