windowscodecs/png: Fix byte-swapping mode usage in the encoder. The png_set_swap() explicitly checks for 16 bit depth, and bit_depth field is set by png_write_info().