[libibverbs] Forward port rhel6.5 fixes