rrd_update and rrd_rpncalc - fix casts introduced by win32 patch to make gcc happy too