Merge "Use buffer size for NativeAllocationRegistry instead of a fixed value"