Conditionalize the use of -Xdoclint:none to Java 8 and up using a profile