[PATCH 5.10 33/89] nilfs2: fix possible out-of-bounds segment allocation in resize ioctl