xadd and __compiletime_error defs added

Signed-off-by: Lokesh Mandvekar <lsm5@buffalo.edu>