Port MockMediaDevice & related to the new IPC serialization format
<rdar://problem/116518406>
Pull request: https://github.com/WebKit/WebKit/pull/18686
Committed 268917@main (ced8381ea44d): <https://commits.webkit.org/268917@main> Reviewed commits have been landed. Closing PR #18686 and removing active labels.