[PATCH 4.19 201/252] ubi: ensure that VID header offset + VID header size <= alloc, size