Add pthread barrier related functions and Statfs

This commit allows libusb and hidapi to compile under ccgo bascially being able to make a USB driver without cgo needed.

Merge request reports

Loading