Update HibernateSerializedObjectDAO.java

Correctness - Suspicious reference comparison of Boolean values
Ticket - https://issues.openmrs.org/browse/GCI-9