Improve the way that assertions are handled for free builds

In line with the changes to XENBUS.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Use a timer rather than a thread for pool reap

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>