tools: Use appropriate OUString functions on string constants

Change-Id: Idbca92ee8d38fe5839ec0aeb8ee02af3e326549d