Measure BuildDomains in perf.log

Followup of https://github.com/OpenRA/OpenRA/pull/3375 and https://github.com/OpenRA/OpenRA/pull/5184.