Upper critical fields of superconducting Gd and Tm doped LaSn3: Effects of crystalline electric fields