[IRGen] Use ConditionalDominanceScope in AbstractMetadataAccessor::emit (#64585)
* [IRGen] Use ConditionalDominanceScope in AbstractMetadataAccessor::emit
rdar://103179745
Under certain conditions the missing dominance scope caused a cached witness table ref to be used in a block that it was not available in.
* Fix target in test