[PATCH 6.2 025/211] ubi: ensure that VID header offset + VID header size <= alloc, size