nbody.cu: fix order of cleanup operations

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