ByteStreamCnvSvc: Fix thread-safety checker warnings. See merge request !57133
mentioned in commit c1cf94c6
mentioned in commit f015259e