Prevent ghosts seeing admin flag warnings when they click on machines

This avoids the user seeing a message about lacking admin flags when
they try to use machinery as a ghost

I'm not a hundred percent on this, should we instead improve the message returned by check_rights to be less immersion breaking?
edit: this is an issue with #4485 as well


edit: maybe I should edit the title a few million times more

Fixes #4568