Fix errors building with -Warc-bridge-casts-disallowed-in-nonarc