[PATCH 5.4 25/64] nilfs2: fix possible out-of-bounds segment allocation in resize ioctl