Fix infinite loop when parsing numeric trace flags written to /proc/yaffs.