Conservation scientists have found that a dam built in Thailand 31 years ago has caused the local bird population to collapse.