Disable the GUI for sysprof and latencytop

We don't want x11 to be pulled into our console image.

This is entirely based upon Noor's pull request at #326, but supercedes it, as
this makes the gui functionality in sysprof explicitly configurable.