nir/tests: add serializer tests

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
42 jobs for !2938 with nir_serialize_fixes in 15 minutes and 21 seconds (queued for 8 seconds)
merge request