Sanity check to avoid crash when pjsip returns negatives packets size. 

This can occurs when media multithreading is enabled.