Simplify hidden_checkers()

De-templetize and pass color as function argument.
No speed change.

No functional change.