Fix UBSan bootstrap: don't bind reference to nullptr.