i965: Add a CHECK macro to call more complicated validation funcs.