[asan] Move *scanf declarations out of mac-only section.