The G3258 is still Haswell-based, so the VRMs are on the CPU package, so it shouldn't matter what motherboard it's paired with. As for the silicon lottery, the vast majority of G3258s seem to be able to get high overclocks, but a small number can't. I get the impression that it's probably worth the risk. If you want to be sure, buy a few tens of millions of weaker Haswell Pentiums, so only the absolute best get binned as G3258s.
OS: Windows 10 64 bit Professional
CPU: AMD Ryzen 5900X
RAM: 16GB
GPU: Radeon Vega 56
CPU: AMD Ryzen 5900X
RAM: 16GB
GPU: Radeon Vega 56
