t/helper/test-bitmap.c: add 'dump-hashes' mode