Backport Fix #1133: AtomicReference should compare with reference equality.

Fixed a few signatures in Atomic classes in the process.

(cherry picked from commit b0068c7a31e2007064d39bad9b07cc54b1dbf406)

Conflicts:

	test-suite/src/test/scala/scala/scalajs/test/javalib/AtomicTest.scala