Have winpoint-restore not work on dired-mode buffers

I find that when you do C-x d to enter a dired buffer, then switch away, then C-x d to the same directory, point will be set to 0.  This corrects that behaviour.