unix: Create __bss_start and _end symbols for Mach-O targets.

It's a hack, but can't find a cleaner way to do it.
tests: create result file for test/basics/memoryerror.py .

On Mac OS "python3 test/basics/memoryerror.py" never runs out of memory, the process is frozen by the os before.
unix: Add asm statements needed to read registers with clang. Code generated by gcc 4.9.0 is unchanged (same statements, different order).

Both are inefficient, saving unmodified registers on the stack.
Fix some unused variables, and silence a clang warning about initialization override in vmentrytable.h
Merge pull request #607 from Anton-2/osx-clang

Allow compilation of unix port under clang on OS X