s4:ldb Add hooks to get/set the flags on a ldb_message_element