diff_requires_run_roxygenize: Check if we should run roxygen.
Description
This is the case if a new or replaced/removed line contains a roxygen2
comment in a file that is staged. This is only exported because it's used
in a hook script: It's not intended to be called by users of precommit
directly.