Issue #475: mark locals() unsupported even in pyobject mode.
Add forbidden construct check at object mode lowering stage (#485)