cns3xxx: backport pci fix for cns3xxx_write_config