mtd: spi-nor: fix memory leak when using debugfs_lookup()