[coreboot-gerrit] Change in coreboot[master]: amd/stoneyridge: Refactor GPIO functions