Late binding kernel end auto detach callback.

https://github.com/Starcounter/Starcounter/issues/1600