SF: Use layer id for region sampling stop layer

Cleanup before layer refbase removal. We
can lookup the stop layer by using a unique id.

Bug: 238781169
Test: presubmit
Change-Id: I33da6899adebc33c814656591f78187f08c53e80
3 files changed