Changes to ghc

Changes to ghc:
commit 04dd7cb3423f1940242fdfe2ea2e3b8abd68a177
Author: Johan Tibell <johan.tibell@gmail.com>
Date:   Thu Jun 26 08:39:53 2014 +0200

    Work around lack of __sync_fetch_and_nand in clang

    clang chose to not implement this function. See
    http://llvm.org/bugs/show_bug.cgi?id=8842