Fix for MONDRIAN-1635. Only check precision and scale if necessary. This prevents problems with people using weird JDBC types.