[PATCH 3.16 134/366] UBIFS: Fix potential integer overflow in allocation