Learning Probabilistic Models from Generator Latent Spaces with Hat EBM