chansrv: pcsc, fix for g_rgSCard* structs and added some debug logging