winpr: fix build warnings