fix broken parentheses in the demo cpp code for the getPixels method