Skip trash argument for delete-directory function.

Emacs <= 23 does not support this argument.
Merge pull request #1493 from rejeep/delete-directory

Skip trash argument for delete-directory function.