ffmpeg: fix/simplify metadata conversion to string
Comparing a pointer with an integer value is (correctly) an error with GCC 7.