igb: avoid unnecessary conversions from u16 to int