Add type conversion for OS.Netif the vif identifier when generating backend.ml.