The other ports don't have wxBitmap::{Use,Has}Alpha() (see #17397), so currently the code doesn't compile under them. Closes #17393.