Hawking radiation from rotating black holes in anti-de Sitter spaces via gauge and gravitational anomalies