ffprobe: refactor value_string() to accept an unit_value struct