dasm: list_empty() can use a const pointer.