libmisc/stackchk: Change stack checker reporter function signatures
Summary
libmisc/stackchk: Change stack checker reporter function signatures
This helps in abstraction by encapsulating unnecessary data to be revealed to the user
Note: This is the first step in adding a new feature "Stack Smash protection to RTEMS stack checker".