uart: Small style tweak
Use if (err == 0) rather than if (!err) to follow stlye(9) and also the rest of the file.
Sponsored by: Netflix