Foreign: do not use the `unsafe' keyword for foreign imports
Foreign: do not use the `unsafe' keyword for foreign imports

According to http://blog.ezyang.com/2010/07/safety-first-ffi-and-threading,
GHC is not able to preempt `unsafe' imports, and it therefore plays
badly with threading.

joachifm/hxine,joachifm/hxine