Fix freeimage-load procedure that was not passing enough arguments.

This was a fucking pain to track down. freeimage-get-bits was randomly
failing to load. Sometimes the program would run, sometimes it would
crash with a null pointer dereference error.