Previously these fields were truncated to 32 bits on 32 bit platforms and 64 bit Windows because of using `unsigned long`. Thanks to Tim Williams for reporting and debugging this issue. Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4603 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9567>