Force inlining of deRefStablePtr to silence warnings
This doesn't seem to be performance sensitive. The function is fairly small so inlining should be fine. But it's also not performance critical. So it shouldn't matter much which way we go.
I choose to force inlining as it seemed like an easier way to fix #19235 (closed)