allocated memory was previously not freed in the event of an error with rwlock initialization. Signed-off-by: Sunday Clement <Sunday.Clement@amd.com> [ROCm/ROCR-Runtime commit: 293092f32f]
293092f32f