kernel/3.10: add EOF marker support to the UBI layer