Adds support for unix-2.7.0 (included in GHC 7.8)

The `terminated` constructor in unix-2.7.0.0 (shipped with GHC-7.8) includes a second argument of type `Bool`  which indicates whether or not a coredump was created.
This patch adds support for that flag via the use of MIN_VERSION_unix macros.