add virtual destructor to codec interface

review at: https://rbcommons.com/s/OpenH264/r/362/