nbody.cu: reduce operations needed to calculate GFLOPs value

Signed-off-by: Steven Noonan <steven@uplinklabs.net>