Afghanistan opt to bat against Sri Lanka