Be sure to use the active state when checking for any_errors_fatal (#55779)
Be sure to use the active state when checking for any_errors_fatal (#55779)

The current code was not properly checking for the active state when
checking any_errors_fatal, so if the error occurred in a sub-block
or included file it is not properly detected.

Fixes #55515
thaim/ansible,thaim/ansible