Eliminated -Wwrite-strings warnings

Signed-off-by: Mikhail Durnev <Mikhail_Durnev@mentor.com>