pass the exact lenght of release_id in to xstrndup to avoid memory corruption on aix
Merge pull request #1724 from McAtte/loading-aix-xstrndup

pass the exact length of release_id to xstrndup