Use the correct version of delete within a unit test

This fixes valgrind warnings when running this test. The mismatched
delete could also potentially have caused memory corruption issues
while running the tests.

Review at https://rbcommons.com/s/OpenH264/r/814/.