complete the fix for SI-5077 by adding parens in AnyRef.scala as well

this is a followup to https://codereview.scala-lang.org/fisheye/changelog/scala-svn?cs=25836