winpr-comm: fixed QueryCommDevice() when used with some wide characters