HPCC-12183 Component Cleanup with HPCC-12093 dependencies

re-target from master to candidate-5.0.4
Why would you want to give a different failure message in debug mode than in non-debug mode - this makes no sense!