[sanitizer] Fix struct ifconf definition on Mac and restore the size checks.