test/params_api_test.c: fix size_t assumptions