[PATCH] mtd: core: Fix refcounting for unpartitioned MTDs