Core/Players: Improve quest item adding/removal checks, solves cases where quest item removal (under specific conditions) incorrectly incompletes quests

https://github.com/TrinityCore/TrinityCore/issues/11947, and probably more