winpr: fix calling convention declarations