This commit mainly replaces a lot of `memset(0)` by empty value initialization of `PointerRNA` and related data. It also moves a few remaining areas from C alloc/free to C++ new/delete memory hanlding. Part of the effort to make PointerRNA non-trivial (#122431).