shipstats.py: Use races from pa.cfg.

Signed-off-by: Martin Stone <martin@d7415.co.uk>
(cherry picked from commit b7a10ef1b98641b0ecbf3d6511a118bac2777924)