Minor shader compile/link performance improvement

It's not compiling/linking in a web worker, but it is slightly better for the common case when there are no errors/warnings.