And change it to do nothing at all.
As debug categories don't use reference counting and they can be
retrieved from anywhere at any time by name, it is fundamentally unsafe
to free them at any point in time except for right before the end of the
No code apart from a unit test seems to be currently using the function,
so deprecate it and also change it to do nothing at all.