mmc: use common byte swap macros