Associated and attached primes of some graded modules over semigroup rings