HsForeignPtr hasn't been provided by HsFFI.h for a long while
flip arguments to newForeignPtr
Import and re-export from its now-blessed home.

Shouldn't be needed as an export now, do it just to keep exported
interface the same.
Refresh to work with more modern GHCen
no longer need -fglasgow-exts