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