Sri Lanka have recalled spinner Ajantha Mendis to their squad for their two-Test series against Bangladesh.