SI_Device: Make GetDeviceNumber and GetDeviceType const.