Issue 3882: Remove pure qualifiers from assumeSafeAppend and _d_arrayshrinkfit prevent calls from being optimized away