Conditionally compile cbits/endian.c

Also added the file to Extra-source-files so that cabal sdist is guaranteed
to work no matter which version of GHC you happen to be using at the time.
Merge pull request #9 from lpsmith/endian.c

Conditionally compile cbits/endian.c