[SPARK-3130][MLLIB] detect negative values in naive Bayes

because NB treats feature values as term frequencies. @jkbradley
Could shorten:
if (!values.forall(_ >= 0.0)) {