Nil subsets of graded algebras