cleanup random_mac with a more portable an correct variant

dont rely on bash and $RANDOM, also use the official prefix for self-defined macs ("locally administered")