Fixes GD crash on libjpeg call on some images

Fixes #2238 .

GD crashes on `_php_image_create_from` due to missing VMRegAnchor.

With libjpeg compiled without framepointers (optimized build), this results in assertion/crash.

Compiled and tested.