Add a cookbook entry on how to prevent unnecessary session writes

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | yes https://github.com/symfony/symfony/pull/9119
| Applies to    | 2.4
| Fixed tickets | N/A