Fixed use-after-free in XFT ptr handling

* use-after-free occured when xftcs/xftcs_bg were freed leading
  to wrong colors or simply no text rendered
* the XFT values in xftcs and xftcs_bg are now always allocated to
  simplify the state machine