Fix problems with compiler setting when building ccRTP dependen code

Report from Jan Engelhardt.
Another try to fix the C_FLAGS settings
Enable delayed cache writing in case of RS check failure.

This is according to RFC6189, 4.6.1.1. This change was necessary after
modifications in RS1 handling. This problem did not affect ZRTP security, only
handling of RS storage for key continuity.