President Obama seemed to still be in the comedic mood he displayed earlier in the day, cracking jokes with the veterans