usb: typec: tcpm: fix logbuffer index is wrong if _tcpm_log is re-entered