Hochschild cohomology of algebras of semidihedral type. I. Group algebras of semidihedral groups