compiler: Turn FinderCache into a record of operations so that GHC API clients can have full control over how its state is managed by overriding hsc_FC.
FinderCache
hsc_FC
Also removes the uncacheModule function as this wasn't being used by anything since 1893ba12
uncacheModule
Fixes #23604