K2G flashwriters: add SOC_K2G ifdefs in places where depreciated DEVICE_K2G appears