mmc: omap_hsmmc: split duplicate code to calc_divisor() function