Merge pull request #1054 from sjinks/1.3.0

Added diagnostics to phalcon_memory_restore_stack_common()