[clang-tidy] Fix sed flag.

GNU sed does not recognize -E. Use -r that is supported by
both BSD and GNU instead.