The dust depletion and extinction of the GRB 020813 afterglow