If you clicked on the header button whilst the right panel was showing a room member, it would NPE because there was no refireParams.member. It fires the same phase with no refireParams to toggle the panel visibility (apparently), so detect that case. Fixes https://github.com/vector-im/riot-web/issues/13571