[ticket/11731] Remove static calls to captcha garbage collector


PHPBB3-11731