Added regression test for HoughLines algorithm (Bug #2377)

HoughLines segfault (Bug #2377). Created relative pull request to opencv_extra.