lposix.c: fix a space leak in realpath