Fix error assert for negative cases of pixels_getPixelFormatName test