readlink.c: support the -n option