Fix #8180
When compiling a set of modules under --make, we need to check if the
module graph has TemplateHaskell enabled. If it does, then we need to
switch on -dynamic-too for GHCi, so that the linker can properly find
the right dynamic object files.
Signed-off-by:
Austin Seipp <austin@well-typed.com>