airoha: Use center channel adjust from acs.c
The acs_adjust_center_freq function in ap/acs.c of mainstream hostapd as of the 6f014c0d commit does almost exactly what we need for seg0 value correction.
However, there is an issue remaining with 6GHz band. ACS adjusts seg0 value for the channel and frequency range selected by its own algorithm that may be consistent. However, in the generic configuration seg0 for 320MHz width is not determined by the primary channel number. For the MAP case the master may select one or another frequency range for the same primary channel and the extender should set exactly the same range and seg0. Besides, there are doubts on seg0 setting for 6G 40MHz channel. In HT40 case seg0 is set according the secondary channel while for 6G it is always determined and there is special CONF_OPER_CHWIDTH_40MHZ_6GHZ width value which is currently ignored.