fix cmake ocv_add_samples for opencv_contrib/modules/bioinspired

If a sample containing subdirs, a Cmake error will be raised, since the original code can only install FILES.