[GHC] #8052: make ghci look for the files made by -dynamic-too