HPCC-10909 Get dependency erros; continue to remove directories

Add -f (--force) option. It will force the uninstall of hpccsystems-platform.
Merge pull request #5642 from xwang2713/HPCC_10909

HPCC-10909 Get dependency erros; continue to remove directories

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>