Use proper allocation function for struct returns (ROOT-6028).