Fix array dimensions for pg_cputime() and pg_loadavg()
Fix return type for loadavg sampling function