kmshttpendpoint: unref encoding profile

Change-Id: I2933cdd4fed7192c7ac5a3803d25485966c6d7a5