Gets the string representation of a GstDebugMessage This function is used in debug handlers to extract the message.