Suppress "PHP Deprecated:  Implicit conversion from float 359.99 to int loses precision" on PHP 8.1

Fix wrong argument type. Expected type of $end_angle is int.
See https://www.php.net/manual/en/function.imagearc.php