HSEARCH-1718 Avoid array resize overhead in the ErrorContextBuilder


 - https://hibernate.atlassian.net/browse/HSEARCH-1718