fix: Mark ghci Prelude import as implicit
Fixes #22829 (closed)
In GHCi, we were creating an import declaration for Prelude but we were not setting it as an implicit declaration. Therefore, ghci's import of Prelude triggered -Wmissing-import-lists.
Adds regression test T22829 to testsuite
Edited by Rodrigo Mesquita