OSHMEM: fix profiling API compilation

Refs #4495