Avoid importing inspect.

For some reason, importing inspect module is very expensive and slows down
usb1 import. The cost of working around the import is explicitly accessing
sys._getframe, which is a dependency of inspect.stack anyway.