mmc: block: fix a bug of error handling in MMC driver