patch #2665440 Detect mcrypt initialization failure