gst-plugins-good: add optional dependency libpng

Closes #31269.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>