fix mmc erase compilation error 

Thanks to k2wl for mmc_cap_erase patch