TESTS: fix memory leaks in report supported opcodes tests

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>