mtd: change struct flchip_shared spinlock locking into mutex