Unify StubLinker stub memory management with JIT code allocator (#131903)