Hamas has confirmed that its longtime spokesman was killed following an Israeli strike in August in war-torn Gaza