mmc: add CD GPIO polling support to slot functions