gh-151126: set `MemoryError` on alloc failure in `_PyXIData_InitWithSize` (#156301) Co-authored-by: Cody Maloney <cmaloney@users.noreply.github.com>