Hotfix for older baked templates regarding postLink()

Follow up regarding https://github.com/cakephp/cakephp/pull/3482