[SPARK-2893]: Improve message when a spark.kryo.registrator fails.