M. Night Shyamalan's 'Glass' is No. 1 with $40.6M debut