C threads: dynamic CopFILE and CopSTASHPV to fix many coretests

There are too many cv_undef calls in the core tests suite, so pessimize
CopFILE_set and CopSTASHPV_set analog to cop_warnings, with threads only.