[PATCH openEuler-1.0-LTS 1/2] ubi: ensure that VID header offset + VID header size <= alloc, size