fate/api-h264-slice-test: use cleaner error handling