[coreboot-gerrit] [S] Change in coreboot[master]: mb/prodrive/hermes: Factor out serial reading logic