Test existance of imagecreatetruecolor function and log an error if it does not exists