minix: fix add link's wrong position calculation