Fixes #5198: Do not use stat on AIX in check-rudder-agent, but istat ins...

...tead

Ticket: http://www.rudder-project.org/redmine/issues/5198

To be merged in 2.10
It's not the state db, it's the lock db. These are 2 different things.