Modernize the handling of the GROFF option
PR: 244930 Submitted by: Dries Michiels <driesm.michiels@gmail.com> Approved by: doceng