[sgen] Fix overflow occurring with large object allocations.  Fixes #17590.
[sgen] Hint OOM exception branch as not taken.