The former president shared his vaccination status while speaking with Bill O'Reilly during a "History Tour" event