[NFC][sanitizer] Move inline implementation of StackStore into cpp

GitOrigin-RevId: 6bf71be9f920417a772b123fd42ab855496ad149
5 files changed