h264: move last_slice_type reset into decode_slice_header

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
h264_direct: assert the validity of the spatial ref

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>