io: use min() instead of MIN()

2 jobs for master in 24 seconds
Status Job ID Name Coverage
  Test
failed #34242
docker-alpine
test:alpine

00:00:08

failed #34243
x86_64 docker-alpine
test:debian

00:00:24

 
Name Stage Failure
failed
test:debian Test
No job log
failed
test:alpine Test
No job log