[MLLIB]SPARK-4846: When the vocabulary size is large, Word2Vec may yield OOM

make variables syn0Global and syn1Global lazy, in order that the high-order function passed to RDD.mapPartitionsWithIndex would not yield OutOfMemoryError(Requested array size exceeds VM limit) when serialized if syn0Global&syn1Global are too large arrays.