minuitwrp: Update libpng API usage.