demux: mock: add image_count parameter
The parameter allows to inject a fixed amount of images, which is useful when checking the drain behaviour of video pipeline in playback or transcode.
It will trigger EOS for the input regardless of the length= parameter.