Merge "Make GetErrorName allocate the output buffer."