[coreboot-gerrit] Change in coreboot[master]: ec/google/chromeec: Add checks before creating Type C device