Fix bugs:

1、Data type: bool and enum on v4 p0 encode/decode protocol error
2、callback compare error cause different pointer callback error