video-format: add gst_video_format_info_component()
New API to find out which components are packed in a given plane. Will prevent us from assuming a 1-1 mapping between planes and components.
See !319 (comment 190783) for extra context.
I implemented it as a function as adding this directly to the GstVideoFormatInfo
structure would consume all the padding.
We could add a GST_VIDEO_FORMAT_INFO_COMPONENT
if we want to keep the API symmetric with GST_VIDEO_FORMAT_INFO_PLANE
.