builtin/init-db: allow specifying hash algorithm on command line