Revert "Fix Android build for RefPtr addition."

This reverts commit 8945d1c4dc99236c52f1ee52343bd32906cccdc7.