Make patmos-clang compile in Release mode, remove some warnings about unused variables in Release mode