cavs: fix some crashes with invalid bitstreams