[PATCH RESEND v3 2/5] test_hash.c: split test_int_hash into arch-specific functions