improved deserializer's read_variable_uint()
correct mistaken legacy sigops count thanks to peter todd.