Flann: changed the signature of "add" method according to the base class

fix for PR https://github.com/Itseez/opencv/pull/2278