Extract OPEN_BRACKET and OPEN_BRACE values

It is for using them in grn_inspect().