Fix libc _exit syscall to match changes made to crt0

Fix two bugs in fs.c

Signed-off-by: Brian Johnson <brijohn@gmail.com>