jcr2vfs: fix few dozens of errors/warnings reported by FindBugs