[MTD] replace MTD_RAM with MTD_GENERIC_TYPE