If the remote player does not have getChapters(), the proxied call returns undefined. This led to exceptions when .length was accessed. Reported as part of issue #7546
Closes https://github.com/shaka-project/shaka-player/issues/3597