sdpops: New function sdp_with_active_media

- Return true of the SDP has 'media=type ...' line and the media is active.
- Active media means the port is non-zero and the direction is not "inactive"