Coverity: Fixing some of the coverity issues reported in CitrixResourceBase.java.

Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>