Remove "static" from getMostRecentLocation and locationListening

Location listening is an attribute of the deviceInfo object. It
means it can only be adjusted after initializing amplitude.
Before that deviceInfo object does not exist.