making GNUNET_SCHEDULER_cancel() perform in O(1) instead of O(n) to help or even fully address #3247

git-svn-id: https://gnunet.org/svn/gnunet@34779 140774ce-b5e7-0310-ab8b-a85725594a96