formats.c: Move max-length tests to before cracking tests. We must verify
that we can still crack stuff after using max-length keys.
raw-SHA512-ng, fix a bug introduced in 14a5985