image/png: use image-specific methods for checking opacity. R=rsc CC=golang-dev, mpl https://golang.org/cl/1894047