liblp: Use TMPDIR instead of P_tmpdir. am: a14f111377 am: 8cea677433
am: f31c37bd50

Change-Id: I564c17a31d107952fe06bbd8f3936ed7a92caa1c