syscalls/getcwd04.c: cleanup && convert to new API

Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
1 file changed