Occt (linpack) is a pretty intensive test and is likely stressing the cpu more than gaming. Cinebench is a performance test, not necessarily a stress test. Stress tests can be a number of things but linpack and prime tend to provide a worst case scenario. You may never encounter stress that intense in everyday programs and usage or you might. That's why they're used for thermal testing, when you prepare for the worst case then nothing you run into should be a problem.
4.5 isn't an overly aggressive oc for the 4790k but the h7 isn't designed to handle an oc'd i7. You could try checking thermal paste and mounting of the cooler by uninstalling it, cleaning the cooler and cpu with isopropyl rubbing alcohol and a lint free cloth, then reapplying a dab of thermal compound and being careful to evenly tighten the screws for the h7. Also check in the bios if your cooler is controlled by some sort of fan curve, double check if the cooler fan is reaching full speed. Also make sure it's dusted out.
What are your ambient room temps and what sort of case cooling do you have set up? A single exhaust fan, exhaust and intake, multiple intake fans and 1 or 2 exhaust fans?
Beyond those steps a better cooler is about the only solution. At stock under normal loads the h7 is fine but it's a lower/mid range budget cooler. In comparisons to the 212 evo it cools a degree or two better, noise is a decibel or two less and it's a smaller cooler which can fit more cases than the 212 evo. Otherwise they're very similar and a 212 evo isn't enough either.
When people look to cool a top of the line desktop i7 (4790k, 6700k, 7700k etc) and they're overclocking they generally look to larger more capable coolers. Noctua nh-d14 (either dual or single fan varieties), nh-d15, dark rock pro 3, cryorig r1 universal, reeven justice, phanteks tc14pe and so on. Usually coolers with 6 heatpipes at least if not 7 or 8 and larger heatsink fins along with a larger fan or multiple fans.