[ticket/12387] Fix \phpbb\db\driver\mysqli::sql_freeresult

PHPBB3-12387