Core/Battlegrounds: Fixed error with counting AB owned nodes (and warning fixes)

Signed-off-by: Nashu <a_mayer@live.de>
Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4