SI-7859 fix AnyVal.scala scaladoc.

Value class member need not be public in 2.11+
Merge pull request #3341 from xuwei-k/anyval-scaladoc

SI-7859 fix AnyVal.scala scaladoc.