malloc: Do not corrupt the top of a threaded heap if top chunk is MINSIZE [BZ #18502]