[ticket/11413] Use sql_insert_buffer

PHPBB3-11413