benchmark-unify: adjust logic for dynamic_n and old md5_gen(n)

so that relbench can compare test results of dynamic formats
in older john versions with latest bleeding output