Fixes Issue 9047 - Expression requiring std.math fails with local import

Mark scoped symbol where std.math is imported to allow the
creation of a proper lookup expression to pow() function.