ext2: fix small memory leak on error

When failing to read the output of `readlink -f`, free the memory buffer
used for it.