more const correctness in OpenNI2 getProperty