x86: mmc: Move common FSP functions into a common file