[delegate] Remove duplicate code between handle_delegate_ctor and handle_delegate_virtual_ctor