Make Jim_CheckSignal() a macro

For performance reasons

Signed-off-by: Steve Bennett <steveb@workware.net.au>