To let unix port implement "machine" functionality on Python level, and keep consistent naming in other ports (baremetal ports will use magic module "symlinking" to still load it on "import machine"). Fixes #1701.
This leaves behind the common functionality in extmod/machine_mem.c which can be used by all ports.