Handle shared user ID in upsert.

Double inserts are treated as upsert if calling package is the owner of
the database row. When FUSE inserts a db row, it picks first package
name from shared uid package names. The second insert may not have the
same package name as the owner package name used by first FUSE insert.
Check for all possible package names while handling shared uids.

Test: atest testUpsert
Bug: 149842708
Change-Id: I1b40e2312465630cfcca6a9c48c9fa8dfe2e0667
1 file changed