enable 2-level profiling

Only print out average timing/counter by default, show per rank
profiling by setting environment variable ARMCI_PROF_PRINT_PER_RANK.