libvlc/player: Add a new media stopping event

Provides an event to the player user and libvlc application.

The event signals the host application that any resources linked to the input media are not needed anymore and can be dropped.

Superseeds !4125 !4161

Edited by Alexandre Janniaux

Merge request reports