Don't write program.bc to disk unless POLC_LEAVE_TEMP_DIRS is set.
Refactor related code a bit.
Don't dump kernel source as 'program.cl' to the tempdir,
unless requested by POCL_LEAVE_TEMP_DIRS