tests: add dump frame fourcc option in decode test
tests: add option to specify yuv dump output dir
tests: guess resolution from encoder input
tests: do not include gles headers if we disable it