various: fix uninitialized save pointer to strtoken/strtok_r (CID#1108033, CID#1108034, CID#1108035)