sipmsgops: Fix trailing whitespaces when doing "codec_delete_re"

	* deleting the last payload attribute led to trailing whitespaces
	* some UAs would return "488 Not Acceptable Here" in this case
(cherry picked from commit c9657d4154ebc3ee271e981db036a10d9b9a7922)