gateway: fix serialize_gw_speed