Add helpers function to call VIDIOC_REMOVE_BUFS ioctl. If the driver support this feature buffers are removed from the queue when: - the pool when is detached from the decoded. - the pool is released. - allocation failed. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7684>