Fix unsafeForeignPtrToPtr import

unsafeForeignPtrToPtr has been moved to Foreign.ForeignPtr.Unsafe module
in ghc 7.8.