mntent: fix parsing lines with optional fields