src/prettytable: Fix string use-after-free
Calling `.c_str()` on a temporary string will lead to a use-after-free
if the result is used after the temporary has been destroyed.
Fixes: 856b54f80d219 ("src: Port process/disk icons from GdkPixbuf to GdkTexture")