Remove all references to shared/debug.h as well (was unused in all cases).
This driver has been part of v0.4.5 but was never ported to v0.5.x.