Switch away from deprecated OpenNI function call.

Signed-off-by: Steven Lovegrove <stevenlovegrove@gmail.com>