validate_nonemptyarray_msg: Fix error message
Add validate_nonemptyhash and validate_nonemptyhash_msg for consistency