Fix NULL-pointer dereference in usb_endpoint_foreach().
Fix NULL-pointer dereference in usb_endpoint_foreach().

PR:		usb/138389
Submitted by:	Patroklos Argyroudis at census, inc

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase