Fix: fix warnings in Ghci -Wmissing-import-lists accumulate
fixes #22984
In Ghci, everytime we import a module we recalculate GlobalRdrEnv with current InteractiveImports in scope, which cause warnings in -Wmissing-import-lists accumulate
Adds regression test T22984 to testsuite