[ASan] Group all flag parsing code together. NFC.