WInCE: fix infinite loop in vasprintf replacement