fix new sequence&EC order, and prefix parse bug

re-order new sequence processing and EC.
fix bug when prefix nal unit errors.
detail and review request see:
https://rbcommons.com/s/OpenH264/r/393/