MBED::Serial: improved baudrate calculator. see http://github.com/mbedmicro/mbed/pull/116