NDPluginROIStat: fixed some compiler warnings that appear after gcc 4.6.