Avoid infinite loop with duplicate anonymous union fields (PR c/86690).