Instead of setting TARGET_TRIPLE ourselves in the runtimes, use it to
populate the various XXXX_TARGET_TRIPLE variables for each runtime
project.
This re-applies 77396bbc98 and 5099e01568, which were reverted in
850b57c5fbe because they broke the build.