BUG: raise NotImplementedError on passing of compound dtypes in constructors (GH5191)

closes #5191