Added 2 casts to signed int in HardwareSerial::store_char and HardwareSeial::write.

GCC was spitting out "signed/unsigned mismatch" warnings so i explicitly casted a few.