landry@'s fix for uv_resident_set_memory

On OpenBSD /dev/mem requires privileges. Use a sysctl to get the required info instead