Stats: Refactor the logic for deciding when to show an average.

This fixes a bug when a session was loaded, and the avg5 or avg12 would
show 'DNF', because it wasn't being hidden.