vpp-swan: fix function to get sw_if_index