addrman.h, main.h: fix msvc warnings