[PATCH 6.15 109/178] lib: test_objagg: Set error message in check_expect_hints_stats()