hw/sd: sd: Move the sd_block_{read, write} and macros ahead