CCShader.m returns nil on error instead of asserting.