Authorities in Kraków reported the death of the suspected perpetrator of a mass shooting in the city's main square, an incident investigators have classified as a terrorist attack.