Fix PHP 5.4 apc.stat logic

Bug 1082554 - https://bugzilla.redhat.com/show_bug.cgi?id=1082554
Merge pull request #5116 from VojtechVitek/php54_fix_apc.stat

Merged by openshift-bot