[NUCJPA-273] Change SMALLINT handling of boolean field to only be
enabled if setting the persistence property
"datanucleus.jpa.legacy.mapBooleanToSmallint" to 'true'