Pre-training Code Representation with Semantic Flow Graph for Effective Bug Localization