Propagate error return values from the smacker decoder.
Avoid a null pointer dereference on oom when decoding smacker.

Fixes ticket #2728.