[ticket/11476] Remove pass-by-reference from sql_mutli_insert

The method never writes to the array passed by reference. So it can be
passed by value instead to avoid certain problems.

http://tracker.phpbb.com/browse/PHPBB3-11476