[PATCH 3.18 73/85] UBIFS: Fix potential integer overflow in allocation