The Spectroscopically Determined Substellar Mass Function of the Orion Nebula Cluster