[PATCH 4.14 058/222] mtd: rawnand: atmel: Fix potential NULL pointer dereference