Generalise the platform list in make-perf-json, make build-perf more resilient to non-pull request builds.