Excludes WeakValueMap from the serializable test #12401

Also added a note to the WeakValueMap JavaDoc stating that it is
not serializable.

Change-Id: If342746ad7c7cac0db8bac4ba75236970cc4cd01