fix codegen bug in typeof() that skipped evaluating the argument
Merge github.com:JuliaLang/julia