lwlibav_audio: Try to get extradata, channels and sampling rate of AAC by actual decoding at the indexing.
lwlibav_dec: Add lw_copy_av_packet() and use it instead of av_copy_packet().

av_copy_packet() is not defined in libav.