[ASan] Move flag parsing logic to asan_flags.cc. NFC.