Removed compile warnings from Xilinx

Warnings included one for the BaudRate Generator and for the UARTReader.
Fixed them by switching between if/case or changing some minor logic.