mmc: use ilog2 for fifoth calculation