[PATCH openEuler-5.10-LTS 23/27] ubi: ensure that VID header offset + VID header size <= alloc, size