Handle new DamageUnregister API which has only one argument

API change in 1.15

Signed-off-by: Keith Packard <keithp@keithp.com>