selection_iter.c: fix the last stand switch to UDP
Previously, qry->flags.TCP flag was incorectly set, which led to incorrect logging and maybe other troubles down the line.
I missed this during the last stretch of server selection rewrite, I'm sorry about that.
Edited by Štěpán Balážik