Use require("ast-types").getFieldType when finding reprints.

This accommodates differences in children that would not be different
after the application of the appropriate default functions.