core/segment.cpp: productivity check only inside V/J genes

Closes #2142
20 jobs for feature-a/2142-stop-inside-gene in 36 minutes and 55 seconds (queued for 3 seconds)