[PATCH 6.5 213/285] mtd: rawnand: brcmnand: Fix crash during the panic_write