nir: Use util_mask_sign_extend when serializing constants

Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <!17214>
191 jobs for !17214 with util/sign-extend in 41 minutes and 1 second (queued for 9 seconds)
merge request