This reverts commit 3a75a321000150e9af89bf45fc5f60d8198e9157.
Since calls to those functions had the arguements fully populated, just remove the default configured arg values.
PHP 8 deprecates the ability to have
function whatever($arg1, $arg2='something', $arg3)
This commit reorders arguments of functions set_cached_item() and
draw_jpeg_photo() to meet this new requirement.