Fix PR2112: don't run loop aligner if target doesn't have a TargetLowering object.