added buildNonZeroPointList function to gpu module

This function is used internally in several algorithms (like Hough Transform).
It may be useful for other algorithms.
Also it is convenient to test it separately.