Graded Hochschild cohomology of a path algebra with oriented cycles