[aapt2] Update the new project tracking for duplicate types

When tracking the types that require creating a new package
update the map every time we see it, not only when adding one

Bug: 201388769
Test: make aapt2_tests && aapt2_tests
Change-Id: I3ed5bac1d64c0e7a831f59d58952fe4c34035776
1 file changed