fix bug in ruby1.8 Sfp::Runtime#get_state