Semiclassical states of p-Laplacian equations with a general nonlinearity in critical case