audio/avrcp: Fix overflow when using UINT32_MAX
audio/avrcp: Fix overflow when using UINT32_MAX

When number of items is unknown the code will attempt to use the maximum
possible end offset but this cause an overflow since index 0 is also
valid the total of items will overflow a uint32_t.

ComputeCycles/bluez,pstglia/external-bluetooth-bluez,pstglia/external-bluetooth-bluez,mapfau/bluez,ComputeCycles/bluez,mapfau/bluez,pkarasev3/bluez,ComputeCycles/bluez,pstglia/external-bluetooth-bluez,mapfau/bluez,mapfau/bluez,pkarasev3/bluez,silent-snowman/bluez,pkarasev3/bluez,pstglia/external-bluetooth-bluez,ComputeCycles/bluez,silent-snowman/bluez,silent-snowman/bluez,pkarasev3/bluez,silent-snowman/bluez