#709, abstract out the pattern of checking if GHC supports locations
#709, abstract out the pattern of checking if GHC supports locations

ndmitchell/shake,ndmitchell/shake,ndmitchell/shake,ndmitchell/shake,ndmitchell/shake,ndmitchell/shake