Ground state solutions of Poho\v{z}aev type for Kirchhoff type problems with general convolution nonlinearity and variable potential