libwinpr-crt: fix realloc to smaller size