revert broken code

remove the 'patch' code for old libtorrent api