AVRCP, HIDD: Fix crash if stop() is called before start()

Add a check for sInstance != null

Test: toggle airplane mode
Bug: 80193890
Change-Id: I92913858f387015791cfee9818112de81d2a5fb8
(cherry picked from commit fe1afbbec992c542954414b242be58f9935ba094)
2 files changed