gst_utils: Add `array_from_sample`
gst_utils: Add `array_from_sample`

This returns a numpy array that is backed by a `Gst.Sample`.  Unlike
`numpy_from_sample` this is not a `contextmanager`, so it's more generally
useful: we can use it even if we don't know when it will be deallocated.

LewisHaley/stb-tester,LewisHaley/stb-tester,martynjarvis/stb-tester,martynjarvis/stb-tester,stb-tester/stb-tester,martynjarvis/stb-tester,martynjarvis/stb-tester,stb-tester/stb-tester,LewisHaley/stb-tester,LewisHaley/stb-tester,martynjarvis/stb-tester,stb-tester/stb-tester,martynjarvis/stb-tester,LewisHaley/stb-tester,stb-tester/stb-tester,martynjarvis/stb-tester,LewisHaley/stb-tester,LewisHaley/stb-tester