Fix backwards check in lfp_mkostemp

This went unnoticed because until a3f1a9b2d64dcb lfp_mkstemp was using
mkostemp instead of lfp_mkostemp