Fix inspect.getsourcelines for module level frames/tracebacks.
Patch by Vladimir Matveev.