char: add WARN_ON() in misc_deregister()