video: fix VideoFrame(Ref)::plane_data() returning truncated buffer
Plane index and component index are not interchangeable for some video formats, e.g., AV12. Each plane could contain more than one component. Therefore, the height of each plane's buffer should be the aggregated height of all its components.
Fixes #536 (closed)