rdmd: Clean up the right executable file if the build fails

We need to remove the temporary filename passed to the compiler, not the final one which should still be a valid program.