avcodec/wmalosslessdec: Fix null pointer dereference in decode_frame()