Don't reuse the same stats state structure across multiple get-stats calls. Make each callback take a copy of the non-changing fields it needs and use a local working copy to avoid crashing. Fixes problems with the unit test crashing sometimes for the unit test introduced in MR !7338 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7387>