drivers: mtd: convert makefiles to Kbuild style