Unifying interpretations of the Gouy phase anomaly for electron waves