How to determine temperature with LSM303DLHC
[I don't have hands-on experience with this accelerometer.  The following is based solely on reading the datasheet.]

Check section 7.2.9 in the datasheet.  I suspect that you are not discarding the lower 4 bits of TEMP_OUT_L_M register.