Gold rebounds to Rs 31,860 on firm global cues