Avoiding duplicate and allowing unset of codec parameter

Avoiding duplicate and allowing unset of codec parameter.

This allows unsetting Opus FEC or other codec parameter. This also avoids duplication.
The function signature should be (sdp, codec, param, value), e.g. (sdp, "opus/48000", "useinbandfec", "1")