codegen: explicit allocate codebuffer with proper permissions
we had weird issues, when upgrading ghc:
http://stackoverflow.com/questions/
10341943/ghc-segmentation-fault-under-strange-conditions
therefore, this fix: use `mprotect' to set the codebuffer explicitly executable.
`mprotect' requires aligned memory, so we use `memalign'.