Fix serial baud rate calculation

This commit fixes this issue: https://github.com/pepe2k/u-boot_mod/issues/21.