Pass linker options when loading *libraries* for GHCi.

Fixes #1439. See also #1435, which fixed this for executables.