Security guard leaves gun unattended in restroom