mvc/application.c: fix warnings produced by scan-build
Fix possible crash when Z_TYPE_P(module) != IS_ARRAY and module_object is not initialized