Convert the HAVE_GNU_NONEXEC_STACK conditional into Haskell