Samsung’s financial results signal that the global memory market is improving more quickly than anticipated.