cdecl: fix reversed pointer and array ordering; fix pop_stack bug

Signed-off-by: Alison Chaiken <alison_chaiken@mentor.com>