videodec: clear error state in shutdown
get_state will return immediately in error state.
This will make shutdown process running to close handle before component change to loaded.
Then close handle will failed since component not in loaded state.

omx/gstomxvideodec.c:1619 is forced by gst-indent
videoenc: re-enable output port in set_format