Pass linker options when loading *libraries* in GHCi.

Fixes #1439. See also #1435, which fixed this for executables.
Rename 'pref' to 'libTargetDir'.
Merge pull request #1441 from 23Skidoo/repl-extralibs

Pass linker options when loading *libraries* in GHCi.