Final (hopefully) mouse code fixes
- made m_mousethread_sleep volatile to prevent potential compiler optimization
  from causing the value not to be re-read
- fixed missing forward delecrations for IN_ResetMouse in dmc and ricochet
  code (my fault)