[PATCH 5.4 291/357] ubi: ensure that VID header offset + VID header size <= alloc, size