Hamas hails South African court ruling on anti-Semitism