Fail `ArrayLength` if called with a non-1 dimension.