move getStats to adapter.js

So, again, can we make this change in `src/webrtc/RTCPeerConnection.d.ts` rather than this file, which we copy from an upstream source?

(I realise that may not be possible in this case in which case let's add some comments -- I guess it'll be obvious where to look when it breaks)