add space for terminating null to fix AIX memory corruption

Fixes https://dev.cfengine.com/issues/4776 - xstrndup was not allocating enough space to store the releaseId on AIX.