Fix initialization of vector of pivoting information in gelsy!

This fixes #7886.