Rename check to status

We use the constants prefixed with CHECK as status codes. Describe
their use better by rename them to STATUS.

Signed-off-by: Marcus Karlsson <mk@acc.umu.se>