MDL-52504 grunt: fixed scope of jshint when in amd directory