Localized gap modes in nonlinear dimerized Lieb lattices