[PATCH 5.15 67/91] ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size