flvdec: Add sanity checking of the last packet size