Move enabled check to analyze method in LoopMustUseBracesPass

As far as I can tell this moves the check to just before anything memory intensive is done which should solve problems of running out of memory on this pass when it is disabled in the config.