Police officer charged over alleged firearm offences