ldb:ldb_msg.c - use LDB result constants for checking return values