rtsp: Make sure we don't write too many transport entries into a fixed-size array