build: make platformtest-* usable
build: make platformtest-* usable

* use plain `go build` instead of the `go test` + `func TestMain` hack
* add target cover-platform and use that to generate coverage reports

zrepl/zrepl,zrepl/zrepl