mtd: plat-ram: convert to mtd_device_register()