When calculating the timestamp offset to apply to media streams in a fragment, ensure that all fragments are offset "together" to preserve alignment in cases where there might gaps in a recording at a fragment boundary. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7053>