Guess BGRA format instead of ARGB when pixels are four bytes since that
works better for some filters.