Optical solitons in fiber Bragg gratings with generalized anti-cubic nonlinearity by extended auxiliary equation