Fixup the checkstyle task to skip synthetic targets.

This fixes a regression introduced by changes in a489c3ad to
distinguish codegen targets like java_thrift_library from the
synthetic targets they inject to own generated code.

https://github.com/twitter/commons/issues/168