osc: add missing MPI_ERR_RMA_SHARED error code and internal equivalent

cmr=v1.8:reviewer=jsquyres
Add missing MPI_WEIGHTS_EMPTY constant

cmr=v1.8:reviewer=jsquyres
Fix typo in r31260

cmr=v1.8:ticket=#4470