HPCC-12183 Modified back to hpcc_setenv in stop_thor and stop_slaves

Signed-off-by: Michael Gardner <Michael.Gardner@lexisnexis.com>