libopencore_amrwb: check packet size