treemodelcustom: Use the new base class order.

The previous way is deprecated in the latest glibmm.