The effect of impurities on the lifetime of positrons in voids in molybdenum