Fix Recovery OS check. Using getuid is not accurate.
<rdar://problem/108415551>
Pull request: https://github.com/WebKit/WebKit/pull/13076
Committed 263549@main (35e9da7ba14a): <https://commits.webkit.org/263549@main> Reviewed commits have been landed. Closing PR #13076 and removing active labels.