Capacities in Generalized Orlicz Spaces