Force module recompilation if '*' prefix was used to load modules in ghci (#8042)

Usually pre-compiled code is preferred to be loaded in ghci if available, which means
that if we try to load module with '*' prefix and compilation artifacts are available
on disc (.o and .hi files) or the source code was untouched, the driver would think
no recompilation is required. Therefore, we need to force recompilation so that desired
byte-code is generated and loaded. Forcing in this case should be ok, since this is what
happens for interpreted code anyways when reloading modules.
25 jobs for !4461 with T8042-recomp-fix in 363 minutes and 53 seconds (queued for 3 seconds)
merge request
Name Stage Failure
validate-aarch64-linux-deb10 Full Build
Uploading artifacts...
WARNING: ghc-aarch64-linux-deb10.tar.xz: no matching files
WARNING: junit.xml: no matching files
WARNING: performance-metrics.tsv: no matching files
ERROR: No files to upload
Uploading artifacts...
WARNING: junit.xml: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 1
doc-tarball Packaging
+ cd ..
+ '[' 0 -eq 0 ']'
+ rm -r linux
+ tar -Jxf /builds/nineonine/ghc/ghc-x86_64-unknown-mingw32.tar.xz
+ mv ghc- windows
+ cd inst/share/doc/ghc-
+ mv '../../../../../../windows/doc/html/libraries/Win32-*' .
mv: cannot stat '../../../../../../windows/doc/html/libraries/Win32-*': No such file or directory
ERROR: Job failed: exit code 1
validate-armv7-linux-deb10 Full Build There has been a runner system failure, please try again
  on ghc-arm-2 KodJpU4V
Preparing the "docker" executor
Using Docker executor with image ...
Authenticating with credentials from job payload (GitLab Registry)
Pulling docker image ...
Using docker image sha256:027c915386153a24eb5f6522519e5c429517d1af65af6a7147bbd40828eba270 for ...
Preparing environment
Uploading artifacts for failed job
ERROR: Job failed (system failure): Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? (docker.go:773:120s)