test: fix an issue in loading YV12 surface