Issue 3882: Remove pure qualifier from assumeSafeAppend and _d_arrayshrinkfit