[Git][wine/wine][master] windowscodecs: Simplify png_decoder_get_metadata_blocks using realloc.