chardev: Simplify usage of try_module_get()