[PATCH 4.18 096/350] mtd: rawnand: atmel: Fix potential NULL pointer dereference