oshmem: shpalloc returns the errcode as described in OpenSHMEM 1.1 api

cmr=v1.8.3:reviewer=jladd