Modify source tree filter for JDK8 compatibility.

The simpler tag filter on `com.sun.tools.javac.tree/JCTree` is
complicated by this changing from a integer enumeration in JDK7 to
a actual enum in JDK8. Use `com.sun.source.tree/Tree$Kind` instead.