Stability of the replica-symmetric solution for the information conveyed by a neural network