lib: Add byte data reader/writer helpers

These helpers are directly copied from GStreamer and stripped down quite
a bit to e.g. always assume the machine does not support unaligned
access..
3 jobs for wip/benzea/v2 in 5 minutes and 43 seconds (queued for 43 seconds)
Status Job ID Name Coverage
  Build
passed #424676
build

00:02:19

 
  Test
passed #424677
test

00:01:47

 
  Flatpack
passed #424678
flatpak master

00:01:36