sensors_core: Fix sensors_unregister()

Signed-off-by: AdiPat <adithemagnificent@gmail.com>