Entropy maximization in the presence of higher-curvature interactions