libpayload: Add ability to unregister output driver