Modified condition for when to override getbyte().

In ruby 2.0.0 condition triggers unnecessarily. Getbyte method doesn't work properly making decoding device's response throw an exception (rtu.rb, line 28, "Illegal function: 0"). This change basically takes into account ruby versions greater than '1.9'.
Added ruby-2.0 compatibility