[PATCH 5.10 440/529] ubi: ensure that VID header offset + VID header size <= alloc, size