Fix a "only variables should be passed by reference" strict-standards error,
Fix a "only variables should be passed by reference" strict-standards error,

end() expects a reference because it wants to modify the internal array pointer.
WPCMSNinja/wp-update-server,YahnisElsts/wp-update-server