restore compatibility with cgo.wchar

Looks like functions have been renamed in the meantime ...