mmc: core: Re-factor code for sending CID