Convert some pointers in fpdf_parser_parser to unique_ptr and std::vector.