unlinkToDeath only when the listener has no more callbacks

Bug: N/A
Test: build, boot, SurfaceFlinger_test
Change-Id: I2bbca0f781897967a18731ade3a3b4724f16d361
1 file changed