gst: don't use volatile to mean atomic

volatile is not sufficient to provide atomic guarantees and real atomics
should be used instead.  GCC 11 has started warning about using volatile
with atomic operations.

https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1719

Discovered in gstreamer/gst-plugins-good#868

Part-of: <gstreamer/gst-editing-services!234>
33 jobs for !234 with gst-es-drop-volatile in 62 minutes and 23 seconds (queued for 3 seconds)
detached
Status Job ID Name Coverage
  Build Docker
passed #8140515
alpine amd64 manifest builder docker

00:00:18

passed #8140514
android docker

00:00:17

passed #8140513
cerbero fedora amd64 docker

00:00:17

passed #8140512
fedora amd64 docker

00:00:17

passed #8140516
gst-indent amd64 docker

00:00:17

passed #8140517
windows shell 1809
windows amd64 docker

00:00:08

 
  Preparation
passed #8140520
check allow-edit

00:00:09

passed #8140519
gst indent

00:00:20

passed #8140518
manifest

00:00:18

 
  Build
passed #8140529
gstreamer
build cerbero cross-android universal

00:15:08

passed #8140533
gst-ios-14.3
build cerbero cross-ios universal

00:27:24

passed #8140530
gstreamer
build cerbero cross win32

00:12:07

passed #8140531
gstreamer
build cerbero cross win64

00:12:14

passed #8140528
gstreamer
build cerbero fedora x86_64

00:12:10

passed #8140532
gst-macos-11.1
build cerbero macos x86_64

01:01:42

passed #8140534
docker windows gstreamer-windows 1809
build cerbero msvc x86_64

00:14:18

passed #8140524
build clang fedora x86_64

00:10:42

manual #8140527
docker windows 1809 allowed to fail manual
build msys2
passed #8140521
build nodebug fedora x86_64

00:07:30

passed #8140522
build static fedora x86_64

00:04:31

passed #8140523
build static nodebug fedora x86_64

00:05:47

passed #8140525
docker windows 1809
build vs2017 amd64

00:14:46

passed #8140526
docker windows 1809
build vs2017 x86

00:13:51

 
  Test
passed #8141286
gstreamer
check fedora

00:08:00

passed #8140536
gstreamer
integration testsuites fedora 1/4

00:19:58

passed #8140537
gstreamer
integration testsuites fedora 2/4

00:17:24

passed #8140538
gstreamer
integration testsuites fedora 3/4

00:17:14

passed #8140539
gstreamer
integration testsuites fedora 4/4

00:20:06

passed #8140540
gstreamer
valgrind ges

00:08:10

failed #8140535
gstreamer
check fedora

00:10:44

 
  Integrate
passed #8140541
cross-android universal examples

00:07:57

passed #8140543
gst-ios-14.3
cross-ios universal examples

00:04:27

passed #8140542
documentation

00:18:45