Bugfixes and misc changes

1. Correct latency calculation in RMA examples.
2. Prevent race condition in rdm examples.
3. Print CQ error info when fi_cq_read returns -EAVAIL.

Signed-off-by: Arun C Ilango <arun.ilango@intel.com>
Merge pull request #76 from a-ilango/dev

Bugfixes and misc changes
simple: fi_inject and fi_senddata examples.

This patch adds examples for fi_inject and sending immediate data.
Also covers the usage for fi_cq_sread.

Signed-off-by: Arun C Ilango <arun.ilango@intel.com>