[vr] Fix Java unit tests interacting with VR if VR is disabled

This should fix the x86 downstream bots that are currently blocking
Canary release.

Bug: 864924
Change-Id: I0929373233e58897f91536a5e60813bf3db5e2f7
Reviewed-on: https://chromium-review.googlesource.com/1142126
Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
Reviewed-by: Ted Choc <tedchoc@chromium.org>
Commit-Queue: Tibor Goldschwendt <tiborg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#576092}
5 files changed