[PATCH 4.14 152/193] ubi: ensure that VID header offset + VID header size <= alloc, size