[dotfiles] aliases: change some recursive matching patterns from 'grep -r' to 'ag'.

Use regexp with the '-G' option of 'ag' to look for a pattern only for
specific extension such as CMake files, C/C++ header files and C/C++
compilation units.