omxbufferpool: Fix issue can not decode video file has 1 or 2 frames of dmabuf mode
omxbufferpool: Fix issue can not decode video file has 1 or 2 frames of dmabuf mode

In dmabuf method, output buffer will be created from dmabuf_fd
Exporting dmabuf_fd require hardware address of decoded data
If OMX has not output data, hardware address will be NULL
OMX decoders have 3 output ports so it will initialize 3 output GstBuffers.
When decode video has 1 or 2 frames will lead to handle for a NULL pointer due
to lacking of valid hardware address for exporting dma_fd.

This patch file will add condition to check decoded data before creating output buffers
in dmabuf method.
If there is no hardware address output buffer will be created as on no-copy method.

refs #82645
Signed-off-by: Thao Luong <ef4308e16b91b9bcf00aabc74dbe961cf8111f94@rvc.renesas.com>

renesas-rcar/gst-omx,renesas-rcar/gst-omx,renesas-rcar/gst-omx