pan/decode: Don't try to dereference heap mapping