Interface motion in a random medium: mean field theory