Add an assert to catch newpad returning a nullptr
Add an assert to catch newpad returning a nullptr

jkonecny12/kakoune,mawww/kakoune,mawww/kakoune,jkonecny12/kakoune,occivink/kakoune,jjthrash/kakoune,jkonecny12/kakoune,Somasis/kakoune,casimir/kakoune,alexherbo2/kakoune,Somasis/kakoune,casimir/kakoune,mawww/kakoune,occivink/kakoune,alexherbo2/kakoune,lenormf/kakoune,occivink/kakoune,danr/kakoune,occivink/kakoune,casimir/kakoune,Somasis/kakoune,casimir/kakoune,alexherbo2/kakoune,Somasis/kakoune,jkonecny12/kakoune,jjthrash/kakoune,danr/kakoune,lenormf/kakoune,jjthrash/kakoune,danr/kakoune,lenormf/kakoune,mawww/kakoune,alexherbo2/kakoune,jjthrash/kakoune,lenormf/kakoune,danr/kakoune