In the current calculation, if the required baud rate is above 262143,we get an overflow.

This patch uses a 64bits variable to do the maths.Also, we remove the '+1' to avoid a divide by zero if the input clockrate is something unexpected.Indeed, if the input clock rate is zero, it is preferable to be notified,since the UART won't work anyway.