mtd: onenand: convert to mtd_device_register()