Exact simulation of gamma-driven Ornstein–Uhlenbeck processes with finite and infinite activity jumps