test/hash: init parameters in the correct function
test/hash: init parameters in the correct function

Each test case initializes its hash parameters in the test case
function. To be consistent, generate keys function should initialize
hash parameters similarly.

Fixes: c7eb0972e74b ("test/hash: add lock-free r/w concurrency")
Cc: stable@dpdk.org

Signed-off-by: Honnappa Nagarahalli <01ccf438b971cc1d8919c8a7f18443cae9429d8b@arm.com>
Reviewed-by: Dharmik Thakkar <724f3610823e4b14afc73144686337ac966281c2@arm.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk