cifs: fix incorrect check for null pointer in header_assemble