A Bohr-Sommerfeld quantization formula for quasinormal frequencies of AdS black holes