mesa: use IFLOOR(x) instead of (int) FLOORF(x)