qos mark/record: fix disable-sw_if_index range check