HPCC-10992 Move getHomeDir to jmisc and update eclcc.cpp to use it

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>