Backport of "srt: Don't take object lock calling gst_srt_object_get_stats" into 1.18
Backport of !1861 (merged) "srt: Don't take object lock calling gst_srt_object_get_stats".
Commits:
- 470e6989 srt: Don't take object lock calling gst_srt_object_get_stats