[PATCH v1] usb: typec: altmodes/displayport: add null pointer check for sysfs nodes