Fixes: SHMapHandle should not set error when NULL is passed as hShared