dpx-c: fix & expose free methods for frames & channels