Fix warnings in wjoyxi.c

Those two functions weren't exported, so they can be static.
Silence a redefinition warning under MinGW-w64