Automatic exchange of used cartridges in a photographic processing apparatus