Missing backport for 04361b8bb818 ("net: sfp: fix state loss when updating state_hw_mask")