[MTD] NAND s3c2410: Add missing NULL pointer check