[PATCH 4.19 48/57] ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size