Add ARC workaroound for be_nil and be_same_instance_as matchers.

[Fixes #46780343]