Fix a crash-on-exit in the OpenNI2 driver caused by using a deleted iterator.

Signed-off-by: Robert Xiao <brx@cs.cmu.edu>
Merge pull request #400 from nneonneo/openni2-crash-fix

Fix a crash-on-exit in the OpenNI2 driver