Returns the value of the pixel at position X,Y on the surface. Remember to call Lock before calling this function.