Allow out-of-source testsuite builds.

Previously, "./" was prefixed to $RESULTS_DIR in several places, while $RESULTS_DIR == "test_result" was assumed in others.

This is useful for integrating the DMD test suite with the build system of other projects, e.g. LDC (via https://github.com/ldc-developers/dmd-testsuite).