Refactor Scop and ScopBuilder class:
1.Move hoistInvariantLoads function from Scop ScopBuilder class.
- Private functions (addInvariantLoads, getNonHoistableCtx) are moved to public section of Scop class. hoistInvariantLoads function references these functions. These functions will be moved to ScopBuilder as well in the next steps.