Select the closest possible frequency which is smaller than or equal to requested in I2C msg
Co-authored-by: Eero Nurkkala <eero.nurkkala@offcode.fi>