Fix SMS PDU decoding causing a segfault

Patched-By: Jasper van der Neut - Stulen <jasper@speakup.nl>