The Moore-Gibson-Thompson equation with memory in the critical case