Fix iteration of to be sent MSILO messages
Fixes issue #291
Thanks to Nick Altmann for reporting & testing
(cherry picked from commit 1dd4ea2b16f6a2f9f46a7e947052da2e1e591d04)

Conflicts:
	modules/msilo/ms_msg_list.c