mmc_get_dev: Return error if mmc_init fails