xdg objinfo: use old C style for loops
xdg objinfo: use old C style for loops

don't use C99 loops, since we don't use them
anywhere else in the project

reported by @zskdan in #51

Reported-by: da39a3ee5e6b4b0d3255bfef95601890afd80709@zskdana https://github.com/zskdan
Signed-off-by: Marek Chalupa <a05df156a69ad59faa9af9b666ef78009594c145@gmail.com>

mchalupa/wldbg,mchalupa/wldbg