switch to O(n) NormalizeCounts() algo, not O(n^2)

We use linear Select() to pick the counts[] to repair up.
Merge branch 'master' of https://github.com/skal65535/fsc

Conflicts:
	histo.c