shview: fix segfault and odd behaviour when lmax exceeds number of coefficients provided