vc4: Add shader validation support for small immediates.

Signed-off-by: Eric Anholt <eric@anholt.net>