fix bug of boolean equals() method, the reference comparison works incor...

The equals() method of PrimitiveTypeInfo doesn't work correctly, when PrimitiveTypeInfo instance created by de-serialization.