[tor-commits] [tor/master] Refactor duplicated extrainfo checks into a common macro.