[PATCH 5.4 285/367] mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write