Afghanistan, Sri Lanka hope to keep faint semi-final dreams alive