common: Use refcounted_frames for the first valid video frame.

Now, video hanlders always uses refcounted_frames.
common: Move the first video frame buffer to the video decode handlers.