Turn sys_mem_* functions into macros (fixes #10)

Update URL in doc/CREDITS