Add picture bIsComplete flag to reflect the status of decoder

Add picture bIsComplete flag to reflect the status of decoder, When slice lost or ref picture is ECed, current picture will be marked as ECed. So engine can send LTR instead of IDR when decoder report error.