Fixed bug in romfs_readdir iteration