Revert "PR14606: debug info imported_module support"

This reverts commit r179836 as it seems to have caused test failures.