fixing warnings, adding static_assert if using papi events while not building with papi support
fixing warnings, adding static_assert if using papi events while not building with papi support

david-grs/geiger,david-grs/disco