Closure of the entanglement gap at quantum criticality: The case of the quantum spherical model