stdio: Provide functions to add/remove devices using stdio_dev