En mann har blitt pågrepet etter at han hadde med seg det som kunne se ut som en pistol på Nav sitt kontor i Bodø.