[PATCH] generic_serial: fix decoding of baud rate