[Stackmaps] Cleanup code. No functional change intended.