[PATCH v2 01/15] spl: nand: Fix NULL-pointer dereference