Mantis #6313: JvDBLookup.pas fails to compile on Delphi 7 when JVCLThemesEnabled enabled