Illegal mining poses threat to Bui Dam