CA-109476: Read rrd plugin timestamp as int64

It's written as an int64 by the plugin library. Also, a standard int
isn't big enough to hold a typical Unix epoch.

This value isn't actually used, rrdd just relies on it changing so
that the plugin payload's checksum changes even if the data source
values stay the same. However, it would be nice if it's correct in
case we do ever want to use it!

Imported from xen-api.git aa0489fafdb5b42bfdfe1836bf8311df629ce6a8

Signed-off-by: John Else <john.else@citrix.com>
Merge pull request #5 from johnelse/ca-109476

CA-109476: Read rrd plugin timestamp as int64
Update rrdd_main.ml

Attempt to fix compilation following change in xenops library

Untested.

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Update xcp-rrdd.obuild

More build fixes. Untested again.

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Build fixes following removal of xenstore-compat from xenops

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>