[PATCH 4.14 018/110] mmc: dw_mmc: Factor out dw_mci_init_slot_caps