revert mistake in queuing logic

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@9972 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
add workaround for GCC bug in MingW (broken support for PVOID64) and improve resiliency of storage

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@9973 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
added clear_piece_deadlines() to remove all piece deadlines

git-svn-id: http://libtorrent.googlecode.com/svn/trunk@9975 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda