Allow usage of goog.require from processed CommonJS modules.

This patch works, but leaves the assumption that all inputs are CommonJS,
guarded only by a null check after ProcessCommonJSModules.getModule near
line 1564 of Compiler.java.

I'll add some tests if this is an acceptable approach.
nit: Google style requires the || to be on the next line.