matroska: Port to color_{primaries,transfer,matrix}_to_iso

... and remove duplicated code.
20 jobs for matroska-color-iso in 110 minutes and 48 seconds (queued for 4 minutes and 50 seconds)
Status Job ID Name Coverage
  Preparation
passed #421570
gst indent

00:00:35

passed #421569
manifest

00:00:27

 
  Build
passed #423842
build cerbero android universal

00:08:54

passed #421577
build cerbero cross win32

00:11:12

passed #421578
build cerbero cross win64

00:06:18

passed #421575
build cerbero fedora x86_64

00:08:31

manual #421580
gst-ios-12.2 allowed to fail manual
build cerbero ios universal
passed #421579
gst-macos-10.14
build cerbero macos x86_64

00:08:24

passed #421571
build fedora x86_64

00:08:58

passed #421572
build nodebug fedora x86_64

00:07:40

passed #421573
build static fedora x86_64

00:11:22

passed #421574
build static nodebug fedora x86_64

00:09:45

failed #421576
build cerbero android universal

01:30:27

 
  Test
passed #421581
check fedora

00:03:53

passed #421582
integration testsuites fedora

00:14:26

passed #421584
valgrind bad

00:08:41

passed #421585
valgrind ges

00:06:43

passed #421583
valgrind good

00:19:23

 
  Integrate
passed #421586
android universal examples

00:06:05

passed #421587
documentation

00:03:37