add missing aTHX_ for threaded builds
version 1.0502