Backport PR #45519 on branch 1.4.x (EA interface: rename ExtensionArray._hasnans to ._hasna)
Backport PR #45519
The conflict was from #45362. `_hasnans` was not used in the code removed before `common_dtype_categorical_compat` was added.