Performance of the CMS Level-1 Trigger during Commissioning with Cosmic Ray Muons