r300/compiler: Replace asserts with error messages