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