Security guard charged in Royal Farms shooting