Fix 3.18.8 breakage of UBI devices with EOF marker (e.g. WNDR4300)