MDEV-17133 follow-up patch to fix mf_iocache-t unittest which did not always correctly simulated io-cache::end_of_file. The error was caused by implicit cast to unsigned of an intemediate term in a formula.