mem: add av_reallocp
avconv: report the error for codec open failure

External codec may have corner case reason to fail at init, better
report them instead having the user wonder.
wip: qsv simple decoder
wip: add caps to not set the pkt_dts

qsv and similar codecs must do that internally.