[PATCH 6.1.y] kunit/overflow: Fix UB in overflow_allocation_test