The horizontal branch morphology of M31 Globular Clusters