[PATCH 4.19 074/148] wifi: rtlwifi: add calculate_bit_shift()