Use current-module-name-resolver for module loads, too.

In other words rm imports-gui.rkt. Its syntax/moddeps approach needs a
cache or it's too slow, but the cache is potentially unreliable.