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