graph.php: Delegate rrdtool execution to bash script instead of running command directly.

Calling ganglia-web services with JSON set as output might result in empty response if executed command line is too long. Some calls to rrdtool are wrapped in a bash script to avoid exceeding maximum command line length, this one was left out. Wrapping is done only when it is necessary, when a command in at least 100000 chars long.