freerds: fix shared memory segment permissions