Fix compile failure in modbus_rtu_get_serial_mode() without RS485 support
When there's no RS485 support available (e.g. on Win32), the modbus_rtu_t
data structure does not have the serial_mode member. It therefore must
not be used in modbus_rtu_get_serial_mode() if HAVE_DECL_TIOCSRS485 is
not defined. Fixes Win32 build with recent versions of libmodbus.