avcodec/ac3dec: Fix null pointer dereference in ac3_decode_frame()