bc #138: Fixed wrong xpvshared logic (5.10-5.17)

flags & 0x09000000 only checks if one of the 1 bits is set.
need to check (flags & 0x09000000) == 0x09000000

Fixes issue #138. Thanks to sten for reporting