Updated node copying functions.

I had forgotten to copy the skipLocked field, and this caused the SKIP
LOCKED DATA not to work in pl/pgsql (presumably because nodes were
incorrectly copied).