Fix compiler error with new toolchain

../../device/serial.c: In function 'SerialInit':
../../device/serial.c:39: error: suggest parentheses around operand
                          of '!' or change '&' to '&&' or '!' to '~'

Signed-off-by: Jim Huang <jserv@0xlab.org>