On the compactness of finite energy weak solutions to the quantum Navier-Stokes equations