BUG: fix construction of NonConsolidatableBlock with inconsistent ndim (#27786)
Manual backport of https://github.com/pandas-dev/pandas/pull/27786, meeseeksdev seemed to be inactive for a moment (PR was properly milestoned).
Ah, forgot that I could actually still ask MeeseekDev to do this after the fact ..