On Sampling from the Gibbs Distribution with Random Maximum A-Posteriori Perturbations