[PATCH 6.10 273/375] kunit/overflow: Fix UB in overflow_allocation_test