ganglia: convert $lsb check to os_version()

This is going to be short-lived as it's currently there only for our
three lucid hosts, but it's important enough to add Debian compatibility
right now and simple enough, so just do it now.

Change-Id: I01530741afc897313aedbc0068cb2024a10f314c