rtemsbsd: Handle bus teardown correctly
When tearing down the bus, the interrupt handler must be removed and any allocated memory freed.