Revert "remove syscalls.c and define the test calls as macros"

This reverts commit e79a9c196d57393599847d40b15efc2464d5d57c.

Conflicts:
	radvd.h